<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="../css/table.css" />
<script type="text/javascript">
	window.onload = function() {
		window.print();
		window.close();
	};
</script>
</head>
<body>
	<div class="title">
		<table>
			<tr>
				<td>班级:</td>
				<td><s:property value='classname'/></td>
				<td>时间:</td>
				<td><s:property value='worktimes'/></td>
				<td>(2013.1.1-2013.1.2)小舞台学员签到表</td>
				<td>老师:</td>
				<td><s:property value='teacher'/></td>
			</tr>
		</table>
	</div>
	<table class="t1" width="100%">
		<tr class="r1">
			<td>姓名</td>
			<td >联系方式</td>
			<td >w1</td>
			<td >w2</td>
			<td >w3</td>
			<td >w4</td>
			<td >w5</td>
			<td >w6</td>
			<td >w7</td>
			<td >w8</td>
			<td >w9</td>
			<td >w10</td>
			<td >w11</td>
			<td >w12</td>
		</tr>
		<s:iterator value="root" status="st">
		<tr
			<s:if test="#st.index%2==0">
				class="d1"
			</s:if>
			>
			<td><s:property value="studentName" /></td>
			<td>12345678901</td>
			<td><s:if test="w1==1">
						√
					</s:if> <s:else>×</s:else></td>

			<td><s:if test="w2==1">
						√
					</s:if> <s:else>×</s:else></td>
			<td><s:if test="w3==1">
						√
					</s:if> <s:else>×</s:else></td>
			<td><s:if test="w4==1">
						√
					</s:if> <s:else>×</s:else></td>
			<td><s:if test="w5==1">
						√
					</s:if> <s:else>×</s:else></td>
			<td><s:if test="w6==1">
						√
					</s:if> <s:else>×</s:else></td>
			<td><s:if test="w7==1">
						√
					</s:if> <s:else>×</s:else></td>
			<td><s:if test="w8==1">
						√
					</s:if> <s:else>×</s:else></td>
			<td><s:if test="w9==1">
						√
					</s:if> <s:else>×</s:else></td>
			<td><s:if test="w10==1">
						√
					</s:if> <s:else>×</s:else></td>
			<td><s:if test="w11==1">
						√
					</s:if> <s:else>×</s:else></td>
			<td><s:if test="w12==1">√</s:if> <s:else>×</s:else></td>
		</tr>
		</s:iterator>
	</table>

</body>
</html>